Added initial test for Pool routers, fixed some pool router bugs.