Tests for age analysis, php and tpl corrections after tests