Adds a test for Result::getDuration()