added runtests file and better organisation of test dir