i'm not expert on testing subject,but i dont think they test for ephedrine ,pseudo specificly, but they do for banned substances
urine sample will show traces of metabolites,and i think(read somwhere) that ephedrine,pseudo ,amphetamine ,etc will break down into similar metabolite.