refactor static tab tests