fixed snag with package scopes for the known messages; added tests for it