Test and controller refactoring for config, Classes controller read tests