test for #170

ready for review