extract common tests for parsers of adapters