corrected a test and adjusted implementation of controllerClass, namespace methods to fix failing tests