firebase sync w/tests