Export PDF Reports functionality added plus tests.