Fix ApplicationTest