extend detect_src_and_out test
#109162
Merged
detect_src_and_out test
#109162
detect_src_and_out test
#109162