Fixed dbunit tests and repository.