Adding unit testing for NSDate