updated test.sh for nobug compatibility, has still problems with joined stderr and...