Bug 979134: convert test_mobile_voice_state.js to Promise.