add test that confirms the fix in prev. commit