Stephen king once wrote and published a novel under a pseudonym to find out whether he would still be popular even if he didn't use his name.
He kept it very secret, but somehow people deduced from the writing style that this new author was the King.