pipe correction and some other small changes in test system
Merge pull request #614 from ifilippov/testing

pipe correction and some other small changes in test system (fixes problems with alloy.py on MacOS)