expanded test for WithinDuration to test for negative durations