Adding new test case, ApplicationTest.

Right now this only tests Application creation, but we'll do more stuff soon.