sheesh. Well, how can we handle this so that code will actually work in production _and_ in unit tests?