Moved close_to_now to TestCase.