Honor return value of callback function.
Better test.