Fix public upload

add some testing
What about adding the cozy instance document in the fixtures?