Added test for subattr not queries.