Add a basic test suite (finally)
Fix email link issue