Add source and test template