Your pictures are tiny!!
IMG_1045.JPG seems to show your endstops... these look to be two wires, and look to be in the incorrect place (they look like they will short - to + when the switch is closed... this is really bad) If they are 2 wire endstops they should be on S and - pins. They could be 3 pin endstops, in which case they may be fine. I can't see that from the pictures
ie two pin endstops (all set to min endstops) look like this
Now after saying this, the test code doesnt check endstops... But its they are shorting 5v to ground... you will have issues.
I would say you have you motors wired wrong.
check the motor wiring, ignore any color codes, as no two suppliers use the same colors and some even change the colors week to week.
read this http://reprap.org/wiki/Stepper_wiring you have to identify which two wires on your stepper motors are a coil and make sure those two wires are together on the ramps connector (pins 1 and 2 are first coil, pins 3 and 4 are second coil)
IMG_1045.JPG seems to show your endstops... these look to be two wires, and look to be in the incorrect place (they look like they will short - to + when the switch is closed... this is really bad) If they are 2 wire endstops they should be on S and - pins. They could be 3 pin endstops, in which case they may be fine. I can't see that from the pictures
ie two pin endstops (all set to min endstops) look like this
Now after saying this, the test code doesnt check endstops... But its they are shorting 5v to ground... you will have issues.
I would say you have you motors wired wrong.
check the motor wiring, ignore any color codes, as no two suppliers use the same colors and some even change the colors week to week.
read this http://reprap.org/wiki/Stepper_wiring you have to identify which two wires on your stepper motors are a coil and make sure those two wires are together on the ramps connector (pins 1 and 2 are first coil, pins 3 and 4 are second coil)