add support for test dir parameter
Merge pull request #5 from adeven/relative_path

add support for test dir parameter