test an unsuccesfull login
added tests for appController