Rex parsing tests.
Merge pull request #24 from salspaugh/rex_tests

Rex parsing tests.