[PATCH 14/21] test: Add functions test_that_array_is_defined