Fix timing issues with test

This test sometimes fails in Travis - I think because the 800ms time out before the scripts are loaded.