fixed bug in test.bat