Added a test-skript. Usage: ./test.sh DIR
Made some corrections to Sven's first test case.