connection pool re-design: rspec stubs