How to do E2E testing? better ways to have the singer address inside the contract executing arbitrary code in the contract testing scheduled transactions