To test one of your A4988 boards, you can just hook it up with some minimal connections and then measure the voltages on the motor outputs. You can use this diagram as a starting point, though you can just tie STEP and DIR to ground and leave the motor disconnected.