Generic tool for generating test data according to templates