Write tests for outcome callbacks