Ranemd packages for tests and refactored the function for check the
resource path.