Use nosetests for travis and fix a bug from renaming param