It would be really nice to have something like what is done on Sidekiq (https://github.com/mperham/sidekiq/wiki/Testing)
Such that we could just call some configuration method while on tests and external calls to the Firebase API are not executed and the the objects for Devices, Messages and others are still inserted in the database.