Implemented a simple test for LoginView

Has success and error callbacks on submit