entities and terry test