Add test case for PR1261, currently XFAILed.