test: add jest mock for run function in index tests