add test for available licences and templates; #1