9dc1cd6823
- Added cleanup functions to close database connections in various test setups to prevent resource leaks. - Introduced new helper functions for creating test services with proper cleanup. - Updated multiple test cases to utilize the new helper functions for better maintainability and readability. - Improved error handling in tests to ensure proper assertions and resource management.