added Epg model and pend counter test