WIP: Issue#37

Add some test for BoardGenerator, change some method in BoardGenerator from the reason of imposible mocking private method. If you know how to resolve this problem please comment ;), also I don't have idea how to test randomize function