Replace parsing tests with more behavioral tests

Closes #11