flow overwrite testcase

Reviewer: @wilmo119