flush stdout when printing test info