add makeApplication and it's test.

createApplication is deprecated by makeApplication.