Add test, see #439