Small changes and a test for slicer issue 3808

See http://na-mic.org/Bug/view.php?id=3808