tests for rating_calculators.py