fix testing with xunit