Two people involved a scheme to pose as learner drivers and sit the theory test for others have been jailed at the Circuit Criminal Court.