Fix unit test by adding missing initialization of flags.