Added tests for various classes.