Put a couple of holes in the ground, and place a chest in one, and a hopper in the other so it connects to the chest. Then place a rail so it goes over the hopper (have to shift to place the rail). Then place a chest in minecart further along the track, place a random item inside, and push it across the hopper. The item will be transfered into the other chest and the achievement should pop!
See image for my layout.