added tests for willRender