adding tests for daily rate, fixing exceptions