tests: Break recorded tests into a separate shell script.