Add unittests for get_editable_by_user methods.