Testing deviceready Event