Fix #7905: Dotfiles should be colored in white
Add unit tests
Merge branch 'sbruchmann-sbruchmann/7905'