Testing basic query syntax