Add tests for InputMethodSubtype. DO NOT MERGE

Cherrypick of Iea1b87e9b51746358b947f627b5c47a734525b3a

bug: 7542467
Change-Id: Ic793d28da6b808c925ccb5d262df85717d18b490
2 files changed