Added tests for new notify_deployment implementation.