We should start unit testing our modules. Maybe we can kickstart it using this mock https://github.com/soumak77/firebase-mock