UtilsTest: added tests for ArrayHasPrefix