Fix tests to run with different test runners.

While nose accepts both setupClass and setUpClass, eclipse pydev  works only with setUpClass.