Add motor test to app.js