This is most likely wrong (and the tests don't check complex-valued cases).
Check the test coverage: install Python's coverage module, run `python runtests.py -s sparse --coverage` and look at `build/coverage/index.html`.