Wonder whether we shouldn't put this into the GaiaDevice class, what do you think?
Other tests may use it in the future.