add unit test for library hsql repository