DIC: allow to inject accessor interface

I am not sure why some test are duplicate. I modified just one. Ready to merge ;)