Add server_template defintions and tests