I am writing a unit test for a function which tests a time value. The function appears to work correctly when I test it manually, but it fails when I test it using Xcode\'s Uni