Unittest BoardStatus and fix errors