fix date sensitivity of a test case.