Added license information (MIT)
Bit of cleanup
Added trap so a file cannot be tested against itself