Improve StaticPages test