Use different technique for getting user home directory. Copy unish_file_aliases() method into tests.