Try CWD related adapter path too. +Tests.
#3 Fix code style. Rename a function. Fix tests run from command line.
Merge pull request #4 from koresar/master

Try CWD related adapter path too. +Tests. #3