Moved some tests

Out of pdf_generator-worksheet and in to pdf_generator because
they are common