added setBoard and refactored affected tests for getBaord