Added testcases for GrepTool and found, fixed vulnerabilities