Add tests for specific attributes query