Write basic parser test functionality