You can set the “initial content” or “default value” of your inputs to match a dynamic value of your choice (a record from your database or a custom state that contains the default “test” values you want to use).
If you leave this dynamic value empty by default, and then use the “display data” action to display the contents of the dynamic value in the parent group of the input, the default value of the input will update.
You could have data type called “default form” with different fields to match each inputs “test” value. Set the parent group of all of your inputs type of content to be “default form” and then set up a workflow on your button that uses the “display data” action to search your database for a record that contains your test values. From there, if the initial contents of your inputs match their respective fields, the values from your database will display.