Add syseggs check.
Add tests and code for check_sysegg.