Reworked the main tests for dossier types.

This test is also used in tests for different special dossier types.
Merge pull request #192 from 4teamwork/pg_main_dossier_tests_rework

Reworked the main tests for dossier types.