North Korea test fires ballistic missile