added test for illegal path characters