fixed timing in tests