Added tests for all three Java base classes