Add test with xsub.