new tests for inspectSlashes, added helper inspectSlashes