Test Particle Studies Of Acceleration And Transport In Solar And Tokamak Plasmas