Figured out how to test dependencies like Firebase with sinon stubs