Added test application and flagSetter