figure insert and edit tested