Fix for render unit test