Add regression test for old parser issue #504

Authored by kabuhr on May 6 2019, 9:40 PM.