Tests. Add pip --upgrade flag for Travis-CI