Added a test for the advertises.