create test for xrate