make test less fragile