Add tests for determining failure cause from inside getFallback()