Test stopService.