Fixes formatting
Adds check for empty board in next_move
Decouples tests from io package by using mock library
Adds check for bug
Deletes empty line
Tests against buggy move sequence
Refactors tests
Adds config parser with tests