Tweaked LiveQuery unit test to avoid occasional timing-based failures