Scripts tests rebase

Rebase of #869 which creates unit tests for some scripts. Relevant to issue #569

* I deleted the wiskott.yaml file, I couldn't find any use for it
* I fixed some formatting and docstring issues and removed those files from the whitelist