Minor fix for tests