[Carlos] Added test with complex input
[Carlos] Added test with complex input