WithAllDefaults implementation and test