tests code fixed, custom templates for testing added, tests settings updated