change assertions to rely less on exact execution time