Extend slug method to check for bad input.
Add spec for isProduct check.