Allow numbers in partial name for digesting

Add failing test for template with number at the end