Adds tests to test_complex.py