Test for fix http://public.kitware.com/Bug/view.php?id=12506