As without it the test just happily fails to compile due to this:
tests/zypp/Flags_test.cc:9:12: error: ‘std::cout’ has not been declared
#include <boost/test/auto_unit_test.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/Flags.h"
+#include <iostream>
using boost::unit_test::test_case;
using std::cout;
t.unsetFlag( T_2 ); BOOST_CHECK( t.testFlag( T_1 ) );
t.setFlag( T_1, false ); BOOST_CHECK( t.testFlag( T_0 ) );
t.setFlag( T_3, true ); BOOST_CHECK( t.testFlag( T_3 ) );
-}
\ No newline at end of file
+}