test base model createdAt default value set