Create ending-pool-tests.js