Add boost/function test code.