add failing test for issue #415
fix 415