it looks like there is a mix of timeout.duration and remaining in this test file, should it be like that?