reimplement unit tests with nose
we no longer use travis-ci