Added more tests for rating validation