Fix typo in complex parsing code;  expand tests.
2 files changed