test of callback return bool