Added specs for Homerfile#add_dotfile, fixed an edge case