Adding minimum required connection code to test