Test-driven Tetris