If result is null there is something else completely wrong. Only time i've encountered that is if the TestExtension is missing from cp.