Wrote MaterialManager test.

Wrote test for MaterialManager.view_illustration_pdf().