See comments within for the rationale. This is a regression test for a regression that was only present in development versions of PR #764 and was never present in master.