fix readable forms in the case of a top-level ref-less group
add test for ref-less top-level group