added tests to buildings in board and isValid
merging