Adding tests for board
Fiixing some issues