As said above, may want to add a unit test where foo accepts chunk and context and returns chunk.  I'd say the only real expectation should be that there are no runtime errors.