Improved editor spec