Adds tests for queryIntent*

Bug: 149918403
Test: atest AppEnumerationTests
Change-Id: I9733a4e985c959ae993d095ae45009f6f921bc88
3 files changed