First version of test mode w/o server