Fix tests depends on Config class

To use Config class, jenkins instance is needed.

And add PowerMockIgnore annotation to prevent ClassCastException.