Adding unit tests for jdbc repo