I've expanded the test to also check arrays with multiple values.