Added more test to updateBoard function