Test updateDate for valid input