Suppress error message in test cases.
TaskTree is not a spring bean anymore.