Add test for QUARTERLY due date generation. Ammend the generation
function so the test passes.