adds unit tests for Board.java.