Add test for Connection.cipher