updated health check service test from validating null pointer to validating illegal argument was thrown