Update hermit-unlink

I think I finished all the suggestions Geoff. Tell me if I missed anything! Also thanks for the tip on using test, it makes the code so much shorter!