test view.js