add factory test app.