Completed the test for DAO and service layer