Rewrite tests for nose
Add Travis YAML