added a maxDuration option for slower test suites