Fix for calendar test
Merge pull request #1259 from AndreiH/fix_calendar

Fix for calendar test