Test For slice name validity