updated mobile test code