Test for deviceready event