Moved out stop server to onDestroy() method of junit