Forgot to add this test file.
Added GDattach/detach support.