Ignore emacs backups and node_modules.
Added tests.