Added qunit tests for calendar

Added qunit tests for calendar