added tests, updated readme, updated batch file