Revert "[30X1n4c0] Adding enqueue failure hook"

This reverts commit 7d8105318df9df23ee5abc504e238fb8c20c6a37.
Revert "Revert "[30X1n4c0] Adding enqueue failure hook""

This reverts commit ada0ae1972702f5d0933853f9d6deb937a619c98.
Updating tests