compiling materials for unit tests