Fixes Travis command-line tests