fixed ./test.sh script
fixed wud unit tests