Added tests for the validation functions of board