added note and test for gracefully handling null root objects
test for empty root collections