got the server to run on junit test.