[PATCH v2 08/18] test: Add functions test_that_array_is_defined