Fixed failing test after making template path configurable