add more tests for Ast.isEntity