instance/dependency resolution tests