testversion with table data in entity class