In general, a process with a deterministic non-zero drift cannot be a martingale. What if the process has a stochastic drift, that has an expectation of zero? Could such a process ever be a martingale?
I am aware that the zero expectation of the stochastic drift is not a sufficient condition for the process to be a martingale, but is there a general mathematical theorem or a result that would prove that a process with any non-zero drift (stochastic or deterministic) cannot be a martingale?
I provide a "counterexample" below (process with a zero-expectation stochastic drift, that is NOT a martingale).
Question: Could anyone either provide an example of a process with a stochastic drift that is a martingale or alternatively reference a theorem or a result that shows that all processes with a drift can't be martingales?
Let: $$X_t:=\int_{h=0}^{h=t}W_hdh+\int_{h=0}^{h=t}1dW_h=\int_{h=0}^{h=t}W_hdh+W_t$$
We clearly have a zero-expectation drift term with:
$$\mathbb{E}\left[\int_{h=0}^{h=t}W_hdh+\right]=\int_{h=0}^{h=t}\mathbb{E}[W_h]dh=0$$
And in fact we have that:
$$\mathbb{E}[X_t|\mathcal{F}_0]=X_0$$
But, $\forall 0< s <t$:
$$\mathbb{E}[X_t | \mathcal{F}_s]=\mathbb{E}\left[\int_{h=0}^{h=s}W_hdh+\int_{h=s}^{h=t}W_hdh+W(t-s)+W(s) \mid \mathcal{F}_s\right]=\\=\int_{h=0}^{h=s}W_hdh+W_s+\mathbb{E}\left[\int_{h=s}^{h=t}W_hdh+W(t-s) \mid \mathcal{F}_s\right]=\\=X_s+\int_{h=s}^{h=t}\mathbb{E}[W_h|\mathcal{F}_s]dh=\\=X_s+W_s\int_{h=s}^{h=t}dh=\\=X_s+W_s(t-s)\neq X_s$$
So $X_t$ is not a martingale.