Fixed subtle issue with pool test.
Merge branch 'master' into bb-license