fix tests for change in Complex class