Add test for query attribute using cached role
Add support for cached role queries
Add another test for `.qt.last_name`