Add sleep after starting test simulator
The tests would sometimes fail because the simulator had not properly started. Waiting 2 seconds after starting it and before running the actual tests fixes this.
The tests would sometimes fail because the simulator had not properly started. Waiting 2 seconds after starting it and before running the actual tests fixes this.