Test for enabling/disabling Airplane mode

issue #456