Restructuring parsers tests for clarity and context