fixed test check_shareable_path
get shares returning a dict instead of a list
style, pep8, import order