Thanks for the tip, Lars. That was indeed the problem - one of the libraries we are using was defining a fail macro.

Pramod