test for Rating