The check for infinite values is now disabled inside the function "test_pool" instead of being disabled for the entire file