Working on attribute delegate registry

Adding adequate tests.