Changed EventPerSecond to test under a given duration instead