fix test case when run on first day of month
Merge pull request #53 from mikey179/master

fix test case when run on first day of month