MODULES-133: Error handling test case