Simplify editor test
Get rid of unused variable