add test for ads_controller + refactory ability