Testing for bugs off master for opaque-keys deprecation

This pull request is to identify trouble spots after opaque-keys deprecation.
Fix this