Merge pull request #1 from smichr/parse

add assert to test
correct test