Created test for localhost connection