Add:

"waiton !end_of_tests", in which the test becomes dependent on the end of all other test runs.

Megatest should collect this test like any other test, but would always make sure that any such test would be placed after all other tests