added tests for board. added update_board function