Clean up testing static pages code