Add addBlock and removeBlock test for Board and fix an error in Board
add pivot, by replacing 1 with 2