Remember, an EMPTY firebase. 
'''

FIREBASE_URL = 'https://firebasin-testbed.firebaseio.com'

testdata = {
    'test_child_added': {},
    'test_child_changed': {'child_a': '1'},
    'test_child_removed': {'child_a': '1'},
    'test_value_read': {'child_a': '-test-'}
}

from firebasin import Firebase
flame = Firebase(FIREBASE_URL)
flame.set(testdata)

def on_child_added(snapshot):  
    print str(snapshot.name()) + ' < child_added to /test_child_added/'

def on_value_read(snapshot): 
    print str(snapshot.val())  + ' < value of /test_value_read/' + snapshot.name()

def on_child_removed (snapshot): 
    print str(snapshot.val()) + ' < child_removed from /test_child_removed/'

def on_child_added(snapshot): 
    print str(snapshot.name()) + ' < child_added to /test_child_added/'

def on_value_read(snapshot): 
    print str(snapshot.name()) + str(snapshot.val()) + ' < value of test '