Updated tests that randomly fail when getting active orders after a revision to wait for a milli second