Welcome to Algorand !
After discussing with the team, it looks like the best options right now are:
- use
dryRunif you can - otherwise, replace the timestamp check logic by some logic that does not have that issue for testing, or design it to work with with sandbox