Although it might be less common to use arrays in addition to objects, but
they are still very popwerful. Anyway, it would be fine to have the
following methods for testing arrays: ArrayHasKey, ArrayNotHasKey,
ArrayHasValue, and ArrayNotHasValue.
As suggested by Tim Hunt, I added the attached code to the simpletestlib.php: