add test for directory module
catch missing save_cache_path in xdg.BaseDirectory; closes #31