Wrote material definition module test.