Fix to tests giving server some time to start