Testing the order of the classes.

#6608