Integral Gassman equivalence of algebraic and hyperbolic manifolds