test that array matching logic works with ClojureScript