test register to template reintegrated to test all