fix rate scaling in unit test