use egg.text instead of egg.name, fix unit tests
revert to using egg.name
Merge pull request #41 from djuretic/master

Use egg.text instead of egg.name & fix unit tests