unit test for star_rating helper method
star rating tests passing