Fixed complex_terminal bug. Reached 100% test coverage for parser.