Added tests for pool