added template and test page