Began TestSimulation coding