prepare app for testing