fixing pool by tests