small fix for lamba on showing toast for success tests