Added more tests for Board. Minor bug fixed.