Changing to client_encoding, adding test for creating a connection