alg.includes test optimization