Add printing of complex numbers for debugging in tests