Expanded unit test coverage for util_fns.