Add omitted code for running test suite and simulating hands