Fixes for ScoringBorders positions, test for a State Machine implementation