Wrote spec for testing activation of tabs