internal-half-test