Updated elog_filter.c
Updated tests