Remove test function call
Make sure melpa installation test is ran in an empty .emacs.d directory

It now uses a temporary directory