test and fixes for module name mismatch
resolve this references to current file if possible
snapshot