add test for close
Merge pull request #5 from metamx/add-test

add test for ResourcePool.close