added batch file to run tests, relocated real source code from tests folder