added support for the module version and enviroment in test