fix tests
add runtests.sh