deviceready and ios7 test