advert java test task