fix diff tests