Added a list of failed tests at the end of the action output.

 Also added reference numbers similar to footnotes.