test for correct number of ads works