Add test for inaccessible configuration class

See gh-948