harden the test against timestamps and fix test dependency