Fix config test dependency on $HOME.