Avoid the "bad child path" exception after defining a child with leading slashes

It took me a while to debug this. 

I was using leading slashes as the firebase library supports them: firebase.child('/data/test'). Calling set on such instance lead to the "bad child path" exception.