callbacks documentation testing