Implement AppTester.setup.user.state and AppTester.setup.user.state.metadata