fixed the duration assertions to be double