I know we don't typically like private functions in unit tests, but if there ever was a candidate, this is probably it.  It's a simple routine that is used 20 times...