unit tests for getEgg, newEgg, and likeEgg