Refactored code to find modules for testing slightly; to be certain that we do not find a module in the default library search path.
Merge pull request #364 from joakim-hove/osx-cmake

Refactored code to find modules for testing slightly