date_test.go: fix test code.