add support for dependencies installed as hidden modules
enhance unit tests