appcelerator test code