fixes bug in process_entry test