testcase for hasEntityType
update demo with new srape api