pool seems to work
fix unittests
few fixes and unittests missing