Testing with delegate instead of click