As I understand, you want to edit your test environment SPD workflow using SPD. FO that you need to open site in SPD and then open that list/library where that workflow actually binded. Then from right bottom pane, you should able to see that workflow which
need to be open by saying edit workflow. Once edit, it can be republished.

Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.