Write test for each class.