Fixed unittest for exact delay (still refactoring for #41)