#40 Template definition - saving the definition in the database
#40 Template definition - integration test for the repository storage