JModelLegacyTest::testCleanCache

Tests the cleanCache method.