Improve error log when a tag parser test fails