Fix model.js test