fix view.coffee test