Trying to be smarter when we have an AttributeException on some_module.some_value

Updated the tests accordingly