Note: foo is defined as a function a the module level so I remove it from consideration here to avoid complicating this test with other tests in the module.