Test that proves the problem in end of month dates

This tests fails, but it should pass.
Fixig bug with incorrect output in the end of month