make Imagine tests less fragile