for phonegap test