You say your running test code, but the LCD shows your running real firmware...
If your running real firmware get the controller to tell you what it thinks of the endstops
Ie send m119 to the printer, any that say triggered, it will not move in that direction.
If your running real firmware get the controller to tell you what it thinks of the endstops
Ie send m119 to the printer, any that say triggered, it will not move in that direction.