add test files and implement a couple of methods of Board