Use match_array to fix flakey array comparison

Signed-off-by: Dave Liebreich <dliebreich@pivotallabs.com>