shorter assert code for #332
Tests for #389 compiling module
include only module-related resources #389