Added test files for #390
Added tests for resource root names (#390)
Fixed problem with handling of resource root names and the default module (#390)