Testing the contection between android and a server