unit-test for Connection.createQueryWithParams

Mockito rocks!