Added support for license checking to the resolve method and tests. Also added test for non-transitive resolution and specific group resolution