[Android] Testcase for Presentation API:displayavailable

1: Add testcase for both shared and embedded mode.
2: Add call onResume() after onCreate() in setUp() method.