basic unit test for parsing