qunit tests for xdate functions