Added NSDate category and tests for it