built out parser and test cases