add tests for issue in basis.entity