Add test templates, fix hosts config