Using diff exit code is sufficient in travis test