adding JUnit tests for RatingDAO