Added support for Titanium modules on un-required files for code coverage

Titanium module doesn't use the Resource path, but instead use the assets path. This changes avoid the harcoding Resources path, providing support for Titanium modules.