BUG Fix deprecated use of statics in test cases

The test covering `Config::nest` used API deprecated in 3.2, and subsequent merging up caused master tests to fail.

Re-implement this test using non-deprecated API.
Also missing `TestOnly` interface specifiers have been added to testing classes to prevent pollution of the live class manifest.