[Android] Add the test case about getVersion.

This patch contains the test about getVersion in shared and
embedded mode. It's for the runtime client.
Get the version, confirm it's validity by regular expression.