add spec and move inline editor setup to utils