test: add second constructor to BaseEntity for User