test %edit magic on interactively defined objects