get entity test