HG-240: Add tests for Ads module

Added more tests for the ads module.