Add tests for Pool class