Added tests to make sure the slug value is not overwrite. Refs #266