Unit tests for new get/set payment transaction ID

#2432