Add tests for appActions.detectDevices