JRegistryTest::testToArray

Test the JRegistry::toArray method.