added tests for 'attachOrRender' function in the base/view.js
added tests for 'attachOrRender' function in the base/view.js

yhagio/rendr,kball/rendr,sarchila/rendr,modulexcite/rendr,rendrjs/rendr,is00hcw/rendr,CristinaFoltea/rendr