[Android] Add test case for empty mode option.

1. Refine the test cases organization for different mode.
2. add test case for empty mode option.