testing deviceready