Test updatedDate and createdDate