Throw exception if sequence generator not found
Split contexts into smaller parts, more aligned with bundles
Clean up a bit test environment
Merge pull request #1500 from umpirsky/feature/sequence-error-handling

Throw exception if sequence generator not found