Remove old API usage from SliceViewer tests. Refs #7468