Fixed a bug in the test scheduler that happened when advancing time by a too little amount