Created a 'showMessage' argument for FAILED_TESTS token and added unit tests

This should add the feature I was looking for. Suggestions for improvements are welcome.