Support classes for easily writing integration test cases for learning algorithms