Add pending tests to test result data. Issue #1050

Resolves #1050

Adds test result for pending tests to results array. Pending tests will be
 are then reported individually as <testcase name="test1"></skipped></testcase>