updated the xunit ref and fixed code