constructor dependency resolution tests