fix crazy output on tests