Utility Function.defaults() and tests