add test to delegation