added test for LoginFragment.submit()