Minor test refactoring to move common code to parent test classes.
Chess TDD blog post 3