fix the home template path and add test to check if it is an existing path