Implement initialization parts for testing.

Add the following functions:
  - getCurrent()
  - requestDeviceSize()
  - requestLoadURL()
  - requestTest()
  - startTest()