tests for einfo functions