Test speedups for ratings. (bug 817656)