Fix faulty test