tests: Only install test-corruption if gjs is found

It now uses a gjs-based helper.