Adding some tests to RendetingContext