Fixed some nose2 issues.

Now the testing environment should be setup and we can start fixing the tests to get green builds ;)