Add a kludgy complex structure equality for tests