add test to connector instance hibernate queries