finish adding the rate calculation test

it has been verified that it works now.