Fixed subtle issue with pool test.