Added Smoke test for Results PDF, fixed a bug in Results PDF