Updates to directive unit test template.