Fixed error when ES(ρ==1) and added combinatorial problem test.