created some tests for _parse_interval_and_timeout and _parse_reaction_list.
fixed some bugs while testing.