That call should have been removed way back when. Add a testcase to make sure this keeps working. Fixes #4697