fix directory structure in src directory and rename test.sh to runtests.sh