Some fixes to event_from_string_test tests