Add test for advert model