added stop/0 function
added tests to start and stop the server, as well as send and recv message.