Push tests from earlier commits.

+ Add string output, exception handling, and minimax
  tests I passed over in previous three commits.