Fixed defined view test grammar and added define 'viewName' event emit test

Refactored 'should add render queue within the runloop' test
Merge pull request #1 from btbinhtran/refactor

Fixed defined view test grammar and added define 'viewName' event emit t...