Add warning_callback to the client
*Call* the callback
Tests