Added unhappy path tests for calc records