xunit tests ; more work on selection/windows