Rewriting sample to test directly against xunit