complete test coverage for ProviderBasedGenerator

This just completes the test coverage of the generator to 100%