Fixed complex tests