Change spec to call new pool creation function