move warnings.t test to the XS backend module