test finding entity