fixed nose tests by refactoring global conf level out of globals