page-fragments: editor: added method for returning root element
photoalbum-ftest: stabilizing and improving tests