added commentOnEgg function and unit tests