getDuration passes the test