Fixed issue #967

Also removed XFAIL resource test