Did you check this post:
Are the motors powered properly? + there is some simple code to scan motors, checking the basics work
This one might help too: