templates/mercury/tests/Makefile: using sort -u to filter test SUCCESS und FAILED (and write-back results)