add advertise extension unit tests