#test case for issue #148

This PR is not meant to be applied in its current state. It is just to allow you to easily reproduce the problem.