Add more tests for pathscrub, make sure path components are not surrounded by spaces on any platform