Testing applications is simple in GME. The Test button above the Editor opens your application in the Editor's Sandbox tab for testing. F4 is the keyboard shortcut for this.
All data that you input into your application while in test mode is used only for testing purposes. When the application is first published, its internal data sources will be empty. Once users have entered data into your published application, that data will remain, even when the application is republished.