unittests for gcov_flush