Add spec for testing search tracking