Testing for long‐range dependence in the presence of shifting means or a slowly declining trend, using a variance‐type estimator | Synapse