Fix compile error in unit test
Fix errors in enableModule/enableModuleAndDependencies.
Checkstyle fixes.
Removed compile time dependency on logback.