add dbunit test framework, create tests for repositories.