Adapting tests to a nose2 friendly structure