added editing form tests and added is_root field to models