Add a test suite for rcl.
Fix some rcl parser errors found by test.