Added a random test to check connection