Dumps payload.json to tests directory