getTestResultAction() has been deprecated, implemented with the new getAction(Class) method

Hi.

Fixed this issue, along with some other issues mainly type conversions. Feel free to pull these changes as they now work with Jenkins again.