built initial connection model and wrote three tests in class method test_class()