Added test classes.
Added comments to tests.