Added tests and Rake Task

Added tests for:
* text_output
* player
* field

Added <=> to Field.class for equality tests.