Adds dynamic version number to settings template and adds test function for templates.