created class for ratings and user and respetive test cases