Added a test-case
Merge pull request #3 from arokem/haoxing-fix-complex

Added a test-case