Testing the inversion of asteroids’ Gaia photometry combined with ground-based observations