Bug fixes: - Fix running tests as root. - Fix parsing of status.showUntrackedFiles. - Avoid incorrect history path when $XDG_DATA_HOME is valid.