Added DbUnit and JUnit test cases.