The unit tests are pretty flaky with respect to timing. Compiling Unit.hs seems to help (rather than "runghc Unit.hs" as it was before).