tests: Move GError tests into test_error.py

https://bugzilla.gnome.org/show_bug.cgi?id=712519