Example converted to unit test.