Remove boost::coroutine use, add tests for parser