add sub test to the template