DO NOT MERGE: Update R CTS to allow extension version 2

Refactor the test to make it easier to add more allowed versions in
the future.

Bug: 222049920
Test: atest SdkExtensionsTest
Change-Id: Ic0bfdeaed4d55216082d66c28a3da87dc0617485
1 file changed