Fix test that was failing due to time precision