Fixing Pivot tests