[view] [test] finishing #37 

i have three remaining TODO questions in the code:
1. https://github.com/wolfbiter/resources/blob/master/view/test/middle-tests.js#L112
2. https://github.com/wolfbiter/resources/blob/master/view/test/tests.js#L88
3. https://github.com/wolfbiter/resources/blob/master/view/test/tests.js#L137

2 and 3 are essentially the same. let me know what you think.