CP-4325: Add tests for pool-wide license logic

Signed-off-by: John Else <john.else@citrix.com>