fix bugs of useragentapp and pathescape test cases
Merge pull request #1010 from richardcypher/appescape

[test]fix bugs of useragentapp and pathescape test cases