improve date tests