The 2Δx-test: A tool for analyzing spurious oscillations