test for convert integer rating into stars