Minor fix to test class