date converter test case