tests for ads_controller