finish problem 1
"DRY out the test code in static_pages"