fix unit tests for health check