pub fn is_test_file(path: &Path) -> bool
Function to determine if a file is a test file based on common naming conventions and directory patterns