Minor fix in unit tests