Fixed tests for rate method