Functioning named arguments with unit tests