Added testcase to ensure #3078 doesn't fail