Write pending examples in summary
Reduced duplication with helper method
Simple test for verifying no of matching elements

Only rudimentarily implemented, because it is needed for test report specs
Refactore printFailedExample

Takes a list of examples instead of individual examples. Allows the
function to prepare optimizing printing of example group nesting (only print same
group once)