Testing for bugs off master for opaque-keys deprecation

This pull request is to identify trouble spots after opaque-keys deprecation.
This isn't a function, this is a method on `MixedModuleStore`. I don't think anything about scoping needs to be added in the docstring.