tests: Make paths in write_exception() system independent
tests: Use import_module() in test_gtk.py
tests: Hack around failures of mpmath's XFAILed tests
tests: "Fix" XFAILed tests failures