Add test case for RPF utilities to check illegal input
Update TGTID number handling to only right trim.