Test program for integration tests.

An application for integration tests that exhibits various failure behaviors.
Even for a test program like this, please keep flags in `func main` and do proper dependency injection to handlers.