A Massachusetts judge accused of approving a plan to let a man elude immigration officers by letting him leave the court through a back door seven years ago testified Thursday that was not her intent when she granted a request to let him speak with an attorney in a courthouse lockup.