Test class and spring context for testing configuration template controller. Test database creation. Database script creation for some tables. Fetching templates for user implemented.