Added some unit tests for Material