Cleanup yaml parser test code.