Added the views.js tests
added views