parse_test: add test case for invalid YAML
graph_test: make sure graph is validated
Merge pull request #16 from colegleason/coverage

test: improve test coverage