add tryLock(time) test