tests: work around failing tests on ec2