implemented getRating + UnitTest (model)