Created BoardFactoryTest with tests for board generation from seed

also resolved errors in board factory