Minor fix to tests