Fixed test on query and bind

Hello,

I just installed basex-node and ran the tests and noticed the type check for string in 'query and bind' was failing. 

It was a simple syntax fix. 

I also converted the array check to use the short cut syntax while I was there.

Best,
-J