Testing BaseEntity