Unit test for all element classes.