Add test for get with an array
Clean query.js + add comments