Fix faulty contact tests