Switched to using unittest2 and added conditionals for certain tests that don't work on Travis CI