Use SimpleDateFormat when testing dates