Unittest compilation fix. Need to refactor pool unittests.