fixed faulty test