added test to reproduce #18 via some SAGA trickery