Added a standard way to change the registry used in unpickling operations.

Close #148
Change internal function run_pyroma to _run_pyroma
Added docstring and return value in test functions.