There is a Ramps-test software you could use ( sorry, don't have the link at hand ), but be aware that the current firmware on the Mega will be overwritten.
You can also use a serial PC-USB connection and send individual move commands via Pronterface or Repetier-host. That's only useful if you know
GCode