remove is-vector, is-scalar
tests for query function performance