tests: compare durations as values returned by count() method.