added passing user model tests for percent_rating function