Tests for NSDate creation