Sanitize error message from tests. Add more tests. Improve platform detection in config script.
Fix pipe mode encryption check. Change file difference check in tests. Add more tests.