BUG: inverted test for Slicer build

Bug in tests for Slicer build.