Fix mock template path in failing tests