Added grep parameter to test target
Give the expect functions names to improve stack truncation
Skip stack truncation in phantom