add a test for `egg`