Avoiding the Pitfalls: Can Regime-Switching Tests Detect Bubbles?