added MagicLamp#before/after_each