Added check if in usr/local(lib
Fixed config namespace
Changed structure of test files