code coverage for compile and render methods