scripts: got rid of hard-coded paths
added README and a test script which runs all tests