updated test templates
implemented max-page feature