public async Task DeletedUserNoLogin()
    {
        var userId = await service.CreateNewUser("hello", Password, "*****@*****.**");

        var token = await service.CompleteRegistration(userId, await service.GetRegistrationKeyAsync(userId));

        var loginToken = await service.LoginUsernameAsync("hello", Password);

        Assert.False(string.IsNullOrWhiteSpace(token));
        Assert.False(string.IsNullOrWhiteSpace(loginToken));
        //Login worked, now delete them
        var deleteResult = await writer.DeleteAsync <UserView>(userId, (int)UserVariations.Super + 1);

        //Login should no longer work for them
        await Assert.ThrowsAnyAsync <NotFoundException>(async() =>
        {
            var loginToken = await service.LoginUsernameAsync("hello", Password);
            Assert.Empty(loginToken);
        });

        //Also, login shouldn't work for whatever NEW username is there
        await Assert.ThrowsAnyAsync <NotFoundException>(async() =>
        {
            var loginToken = await service.LoginUsernameAsync(deleteResult.username, Password);
            Assert.Empty(loginToken);
        });
    }
    public async Task Regression_CommentDeleteEventNoFail()
    {
        //write a simple comment
        var comment        = GetNewCommentView(AllAccessContentId);
        var writtenComment = await writer.WriteAsync(comment, NormalUserId);

        Assert.NotEqual(0, writtenComment.id);
        Assert.NotEqual(0, writtenComment.contentId);

        //Now delete it
        var deletedComment = await writer.DeleteAsync <MessageView>(writtenComment.id, NormalUserId);

        //That's the test, we just failed entirely before. We already know it's being reported
        //as an event from previous tests, so we're just making sure integration doesn't break it
        Assert.True(deletedComment.deleted);
        Assert.NotEqual(0, deletedComment.contentId);
        Assert.False(deletedComment.edited);
    }