Change tests that are checking the output hash.
[Travis] Remove --use-mirrors for pip command and only test safe package.
Resolved merge conflicts