JArrayHelperTest::testPivot

Tests the JArrayHelper::pivot method.