Test added to not accept an invalid rating