Added a test to check for an empty $HOME var