TEST: Added test for plot_trans