Add test script for elog_handler