Rewrite tests to test smaller units (currently, parsers)