Test-driven implementation of Tic Tac Toe game