Make a test before running the payload