Add test_trans and test_rec