Only wire in test to_xs method if it isn't already there, this avoids the exception is raises when not in test mode