Migrated tests to xunit