Added half-entity test in implementation.