[Android] Add test case for getAPIVersion().

This patch is to add test case for getAPIVersion().
Verify the api version with regular expression.
Merge pull request #1963 from wuhengzhi/getAPIVersion_test

[Android] Add test case for getAPIVersion().