tests/test_advanced_image_processing.py: Added tests for borders.