Added db tests using hsqldb