fixed gpio-lightswitch test