refactor static tab tests
Merge pull request #2704 from edx/adam/refactor-static-tab-tests

refactor static tab tests