added tests and functionality to board class