add a test for scanning /$string/