added simple controller test
removed unnecessary model object for login redirect
added example integration tests

This test case shows how to test the whole application setup and not
just single controller functions.