Maintenance fixes

This pull request fixes:
* installation documentation
* swift compatibility
* unwanted stacktrace
* unittests