autotest for user agent when creating a new app

test case for user-agent' when creating a new app, the user agent will change.