Work on tests
Implement pool