fix tests, decouple from bytePool