updated test script for template
updated documents