Zhuoming Li's unit test.
This test tests for the login feature with two cases: one denied and one confirmed.
NOTE: this branch excluded the Strictmode settings in the original project to avoid the NoClassDefFoundException which may occur at the Junit testing.

@Ming