test code for mobile app