feat(sync_tests): refactor testnet args handling
Refactor the handling of testnet arguments by introducing a dictionary for better maintainability and readability. Replace the previous conditional logic with a dictionary lookup and handle unknown environments with a custom exception.