Added Jasmine test for initial retrieval of duration.