new unit test to catch bug
(#526)