Test onDeviceReady issue