fix target parser: add parser for RETURN target
fix test generator: use only existing chains as targets