refactored tests using shared_examples_for/it_should_behave_like "all static pages".