Fix for ads tests