borrow Path arg in test_runtime_dir
add functions that take a custom getenv method

- add tests
- implemented config dirs and data dirs retrieval functions
bump version to 0.0.3