Minor changes.
Added validation + test to PredictablePieceGenerator.