Add test reproducing #119