implements mark and unmark NSFW

implements mark and unmark NSFW and some ugly unit test