Fixed a mistake in assertTabActive