Validate date string and finish testing updateDate