Cleanup. Added BeforeAndAfteAll. Test for duplicate Application.