#217: reproduced in test
#217: implemented and tested