add delegates test