Unit tests of Application controller