Added tests for zero-length rootIDs