added unit test for render ad