pool seems to be working, stress tests passed
fixes according to unittests